# 获取当前目录路径
$defaultProjectDir = (Get-Location).Path
function Say_hello() {
    param (
        [string]$project_dir = $defaultProjectDir,
        [string]$python_ver = "3.11.7"
    )
    # Write-Output "Hello, $project_dir!"
    return @($project_dir, $python_ver)
}

$result = Say_hello -project_dir $defaultProjectDir -python_ver "3.11.7"

# 输出传递的参数
Write-Host "Project Directory: $result[0]"
Write-Host "Python Version: $python_ver"


# $scriptBPath = Join-Path -Path $scriptDirectory -ChildPath "ScriptB.ps1"